package com.xinsilu.hospital.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xinsilu.hospital.entity.BedTable;
import com.xinsilu.hospital.entity.DrugrecordTasble;
import com.xinsilu.hospital.mapper.BedTableMapper;
import com.xinsilu.hospital.mapper.DrugrecordTableMapper;
import com.xinsilu.hospital.service.IBedTableService;
import com.xinsilu.hospital.service.IDrugrecordTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DrugrecordTableServiceImpl extends ServiceImpl<DrugrecordTableMapper, DrugrecordTasble> implements IDrugrecordTableService {

    @Autowired
    private  DrugrecordTableMapper drugrecordTableMapper;

    @Override
    public List<DrugrecordTasble> listDrug(DrugrecordTasble drugTable) {
        return drugrecordTableMapper.listDrug(drugTable);
    }
}
